//
//  GYBannerCollectionViewCell.m
//  GoodLuck
//
//  Created by apple on 2018/5/2.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import "GYBannerCollectionViewCell.h"

@interface GYBannerCollectionViewCell ()

@property (weak, nonatomic) IBOutlet UIImageView *bannerImageView;

@end
@implementation GYBannerCollectionViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setModel:(GYBanner *)model {
    _model = model;
    
    [self.bannerImageView sd_setImageWithURL:[NSURL URLWithString:model.image] placeholderImage:[UIImage imageNamed:@"4"]];
}
@end
